//
//  SearchTableViewCell.m
//  HondaPro_2
//
//  Created by ht on 13-7-19.
//  Copyright (c) 2013年 glendale. All rights reserved.
//

#import "SearchTableViewCell.h"

@implementation SearchTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        _plateNumber = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 140, 45)];
        [_plateNumber setBackgroundColor:[UIColor clearColor]];
        [_plateNumber setTextColor:[UIColor grayColor]];
        _plateNumber.font = [UIFont fontWithName:@"ArialMT" size:14];
        [_plateNumber setTextAlignment:NSTextAlignmentCenter];
        [self.contentView addSubview:_plateNumber];
        
        _customerName = [[UILabel alloc]initWithFrame:CGRectMake(140, 0, 160, 45)];
        [_customerName setBackgroundColor:[UIColor clearColor]];
        [_customerName setTextColor:[UIColor grayColor]];
        _customerName.font = [UIFont fontWithName:@"ArialMT" size:14];
        [_customerName setTextAlignment:NSTextAlignmentCenter];
        [self.contentView addSubview:_customerName];
        
        _carFrame = [[UILabel alloc]initWithFrame:CGRectMake(300, 0, 165, 45)];
        [_carFrame setBackgroundColor:[UIColor clearColor]];
        [_carFrame setTextColor:[UIColor grayColor]];
        _carFrame.font = [UIFont fontWithName:@"ArialMT" size:14];
        [_carFrame setTextAlignment:NSTextAlignmentCenter];
        [self.contentView addSubview:_carFrame];
        
        _phone = [[UILabel alloc]initWithFrame:CGRectMake(465, 0, 155, 45)];
        [_phone setBackgroundColor:[UIColor clearColor]];
        [_phone setTextColor:[UIColor grayColor]];
        _phone.font = [UIFont fontWithName:@"ArialMT" size:14];
        [_phone setTextAlignment:NSTextAlignmentCenter];
        [self.contentView addSubview:_phone];

    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
